

            function addArduinoCod (Blockly) {
            
                        
                        

                        
        Blockly.Arduino['EXT_RAINDROP_SENSOR_BLOCK_1608033115922'] = function(block)
        {
            let pin = this.getFieldValue('pin');
          
            Blockly.Arduino.definitions_['include_EXT_RAINDROP_SENSOR_BLOCK_1608033115922'] = ``;
            Blockly.Arduino.definitions_['define_EXT_RAINDROP_SENSOR_BLOCK_1608033115922'] = `#define RaindropAnalogPin${pin} ${pin}`;
            Blockly.Arduino.definitions_['setup_EXT_RAINDROP_SENSOR_BLOCK_1608033115922'] = `pinMode(RaindropAnalogPin${pin}, INPUT);`;
             return  [`analogRead(RaindropAnalogPin${pin})`];
        }
                    

                        
        Blockly.Arduino['EXT_RAINDROP_SENSOR_BLOCK_1608033116287'] = function(block)
        {
            let pin = this.getFieldValue('pin');
          
            Blockly.Arduino.definitions_['include_EXT_RAINDROP_SENSOR_BLOCK_1608033116287'] = ``;
            Blockly.Arduino.definitions_['define_EXT_RAINDROP_SENSOR_BLOCK_1608033116287'] = `#define RaindropDigitalPin${pin} ${pin}`;
            Blockly.Arduino.definitions_['setup_EXT_RAINDROP_SENSOR_BLOCK_1608033116287'] = `pinMode(RaindropDigitalPin${pin}, INPUT);`;
             return  [`digitalRead(RaindropDigitalPin${pin})`];
        }
                    
            return Blockly;
            }

            module.exports = addArduinoCod ;

        